package com.amigo.online.common.param.dto.user;

import io.swagger.annotations.Api;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

/**
 *  附近的人查询
 *  RoundPeopleDto.java
 *  功能:
 *  
 *  Copyright 南京阿觅谷 2018 All right reserved.
 *  @author zhaox 时间 2018年7月10日 上午9:49:04
 *  @version 1.0 
 *  最后修改人 无
 */
@Api(value = "用户过滤",tags = {"用户过滤"})
public class AroundPeopleDto {	
	@NotBlank
	private String lng;  //经度 
	@NotBlank
	private String lat;  //纬度
	@Min(0)
	private Integer page; //展示页数
	@Min(1)
	@Max(4)
	private Integer sexType; //性别类型 (1全部;2男;3女;4未知) (默人全部)
	@Min(1)
	@Max(4)
	private Integer showtimeType; //展示时间类型(1全部;2一小时;3一天;4三天) (默人全部)
	@Min(0)
	private Integer leastAge;  //最小年龄 (默人18)
	@Min(0)
	private Integer largestAge;  //最大年龄 (默人无上线)
	@Min(0)
	private Integer pageCount;  //展示数量
	
	private Integer distance;  //展示距离
	
	private Double height; //广告参数 屏幕高
	
	private Double width;  //广告参数 屏幕宽
	
	private String city;  //广告参数 所属城市
	
	private String language;  //广告参数 语言
	
	public String getLng() {
		return lng;
	}
	public void setLng(String lng) {
		this.lng = lng;
	}
	public String getLat() {
		return lat;
	}
	public void setLat(String lat) {
		this.lat = lat;
	}
	public Integer getPage() {
		return page;
	}
	public void setPage(Integer page) {
		this.page = page;
	}
	public Integer getSexType() {
		return sexType;
	}
	public void setSexType(Integer sexType) {
		this.sexType = sexType;
	}
	public Integer getShowtimeType() {
		return showtimeType;
	}
	public void setShowtimeType(Integer showtimeType) {
		this.showtimeType = showtimeType;
	}
	public Integer getLeastAge() {
		return leastAge;
	}
	public void setLeastAge(Integer leastAge) {
		this.leastAge = leastAge;
	}
	public Integer getLargestAge() {
		return largestAge;
	}
	public void setLargestAge(Integer largestAge) {
		this.largestAge = largestAge;
	}
	public Integer getPageCount() {
		return pageCount;
	}
	public void setPageCount(Integer pageCount) {
		this.pageCount = pageCount;
	}
	public Double getHeight() {
		return height;
	}
	public void setHeight(Double height) {
		this.height = height;
	}
	public Double getWidth() {
		return width;
	}
	public void setWidth(Double width) {
		this.width = width;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	
	public String getLanguage() {
		return language;
	}
	public void setLanguage(String language) {
		this.language = language;
	}
		
	public Integer getDistance() {
		return distance;
	}
	public void setDistance(Integer distance) {
		this.distance = distance;
	}
	@Override
	public String toString() {
		return "AroundPeopleDto [lng=" + lng + ", lat=" + lat + ", page=" + page + ", sexType=" + sexType
				+ ", showtimeType=" + showtimeType + ", leastAge=" + leastAge + ", largestAge=" + largestAge
				+ ", pageCount=" + pageCount + ", height=" + height + ", width=" + width + ", city=" + city
				+ ", language=" + language + "]";
	}
	
	
}
